/*
 *Archive header file structure layout.
 *|-id_size-|----id-----|--version--|--total_files--|
 *  4 bytes   20 bytes     4 bytes       4 bytes
 *
 * Maximum size of the header is 32 bytes
 *
 * id_size     indicates the length of the id
 * id          indicates the identifier of the archive
 * version     indicates the version of this archive file
 * total_files indicates the number of files in this archive
 */

#import <Cocoa/Cocoa.h>
#define ArchiveHeader_Size 32

@interface ArchiveHeader : NSObject 
{
	NSString *_id;      //maximum 20 bytes
	int _version;
	int _totalFiles;
}

-(id) init;
-(id) initWithId:(NSString*) identifier andVersion:(int) version andTotalFiles:(int) totalFiles;

@property(retain) NSString *ID;
@property int Version;
@property int TotalFiles;

@end
